﻿namespace TestApp;
public abstract class SchoolBase
{
    /*
     #region 重写，虚方法
//Person person = new Person();
//person.Hello();
//person.Add();
#endregion

#region 抽象类
SmailSchool school = new SmailSchool();
school.Add();
school.Hello();

#endregion

     */

    public abstract void Hello();

    public void Add()
    {
        Console.WriteLine("抽象类增加");
    }
}



